$OpenBSD: patch-Makefile,v 1.2 2016/08/18 18:30:57 czarkoff Exp $
--- Makefile.orig	Fri Jul  8 15:02:42 2016
+++ Makefile	Thu Aug 18 19:08:42 2016
@@ -6,7 +6,7 @@ include config.mk
 SRC = surf.c
 OBJ = ${SRC:.c=.o}
 
-all: options surf
+all: surf2
 
 options:
 	@echo surf build options:
@@ -15,8 +15,7 @@ options:
 	@echo "CC       = ${CC}"
 
 .c.o:
-	@echo CC $<
-	@${CC} -c ${CFLAGS} $<
+	${CC} -c ${CFLAGS} $<
 
 ${OBJ}: config.h config.mk
 
@@ -24,9 +23,8 @@ config.h:
 	@echo creating $@ from config.def.h
 	@cp config.def.h $@
 
-surf: ${OBJ}
-	@echo CC -o $@
-	@${CC} -o $@ surf.o ${LDFLAGS}
+surf2: ${OBJ}
+	${CC} -o $@ surf.o ${LDFLAGS}
 
 clean:
 	@echo cleaning
@@ -45,12 +43,12 @@ dist: clean
 install: all
 	@echo installing executable file to ${DESTDIR}${PREFIX}/bin
 	@mkdir -p ${DESTDIR}${PREFIX}/bin
-	@cp -f surf ${DESTDIR}${PREFIX}/bin
-	@chmod 755 ${DESTDIR}${PREFIX}/bin/surf
+	@cp -f surf2 ${DESTDIR}${PREFIX}/bin
+	@chmod 755 ${DESTDIR}${PREFIX}/bin/surf2
 	@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
 	@mkdir -p ${DESTDIR}${MANPREFIX}/man1
-	@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf.1
-	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/surf.1
+	@sed "s/VERSION/${VERSION}/g" < surf.1 > ${DESTDIR}${MANPREFIX}/man1/surf2.1
+	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/surf2.1
 
 uninstall:
 	@echo removing executable file from ${DESTDIR}${PREFIX}/bin
